<?php
/**
 * @copyright   Copyright (c) 2017 https://www.sapixx.com All rights reserved.
 * @license     Licensed (http://www.apache.org/licenses/LICENSE-2.0).
 * @author      pillar<ltmn@qq.com>
 * 
 * 用户管理 Table<ai_allwin_member>
 */
namespace app\allwin\model;
use think\Model;

class MemberUser extends Model{

    protected $pk = 'id';
    protected $table  = 'ai_allwin_member';
    /**
     * 用户信息关联
    * @return void
     */
    public function member(){
        return $this->hasOne('app\common\model\SystemMember','id','member_id');
    }
}